package com.hilon.segment.jpa.controller;

import com.hilon.base.controller.BaseController;
import com.hilon.segment.jpa.entity.MaterialCategory;
import com.hilon.segment.jpa.service.MaterialCategoryService;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/material-category")
public class MaterialCategoryController extends BaseController<MaterialCategory> {
    private final MaterialCategoryService entityService;

    public MaterialCategoryController(MaterialCategoryService materialCategoryService) {
        this.entityService = materialCategoryService;
        super.buildEntityHandleService(materialCategoryService);
    }
}
